package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;

public class ProExtension implements Serializable {
    /**
     * 主键 id
     */
    private Integer proExtensionId;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 点击量
     */
    private Long hits;

    /**
     * 浏览数
     */
    private Long pv;

    /**
     * 热度
     */
    private Long heat;

    /**
     * 赞
     */
    private Long favour;

    /**
     * 购买数
     */
    private Long purchases;

    /**
     * 试用数
     */
    private Long testCount;

    /**
     * 标签
     */
    private String label;

    private static final long serialVersionUID = 1L;

    public Integer getProExtensionId() {
        return proExtensionId;
    }

    public void setProExtensionId(Integer proExtensionId) {
        this.proExtensionId = proExtensionId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Long getHits() {
        return hits;
    }

    public void setHits(Long hits) {
        this.hits = hits;
    }

    public Long getPv() {
        return pv;
    }

    public void setPv(Long pv) {
        this.pv = pv;
    }

    public Long getHeat() {
        return heat;
    }

    public void setHeat(Long heat) {
        this.heat = heat;
    }

    public Long getFavour() {
        return favour;
    }

    public void setFavour(Long favour) {
        this.favour = favour;
    }

    public Long getPurchases() {
        return purchases;
    }

    public void setPurchases(Long purchases) {
        this.purchases = purchases;
    }

    public Long getTestCount() {
        return testCount;
    }

    public void setTestCount(Long testCount) {
        this.testCount = testCount;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", proExtensionId=").append(proExtensionId);
        sb.append(", productId=").append(productId);
        sb.append(", hits=").append(hits);
        sb.append(", pv=").append(pv);
        sb.append(", heat=").append(heat);
        sb.append(", favour=").append(favour);
        sb.append(", purchases=").append(purchases);
        sb.append(", testCount=").append(testCount);
        sb.append(", label=").append(label);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}